<html>
<meta charset="UTF-8" />
<head>
<script type="text/javascript"
	src="https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>
<style type="text/css">
table.hovertable {
	font-family: verdana, arial, sans-serif;
	font-size: 11px;
	color: #333333;
	border-width: 1px;
	border-color: #999999;
	border-collapse: collapse;
}

table.hovertable th {
	background-color: #c3dde0;
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #a9c6c9;
}

table.hovertable tr.a {
	background-color: #EE113D;
}

table.hovertable tr.b {
	background-color: #22DD48;
}

table.hovertable tr.c {
	background-color: #3300FF;
}

table.hovertable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #a9c6c9;
}
</style>
</head>
<body>
	<table class="hovertable" style="margin-left: 87px">
		<tr>
			<th>股票代码</th>
			<th>时间</th>
			<th>开盘价</th>
			<th>最高价</th>
			<th>最低价</th>
			<th>收盘价</th>
			<th>交易量</th>
			<th>5日均价</th>
			<th>10日均价</th>
			<th>20日均价</th>
			<th>30日均价</th>
			<th>5日均量</th>
			<th>10日均量</th>
			<th>20日均量</th>
			<th>30日均量</th>
			<th>上涨动力</th>
			<th>买入点</th>
			<th>卖出点</th>
		</tr>
		<tr th:each="stockdata:${stockdata_list}"  th:class="${stockdata.buy_point}? 'a' : ''">

			<td th:text="${stockdata.code}" />

			<td th:text="${stockdata.day}" />

			<td th:text="${stockdata.open}" />

			<td th:text="${stockdata.high}" />

			<td th:text=" ${stockdata.low}" />

			<td th:text="${stockdata.close}" />

			<td th:text="${stockdata.volume}" />

			<td th:text="${stockdata.price5}" />

			<td th:text="${stockdata.price10}" />

			<td th:text="${stockdata.price20}" />

			<td th:text="${stockdata.price30}" />

			<td th:text="${stockdata.volume5}" />

			<td th:text="${stockdata.volume10}" />

			<td th:text="${stockdata.volume20}" />

			<td th:text="${stockdata.volume30}" />

			<td th:text="${stockdata.upward_momentum}" />

			<td th:text="${stockdata.buy_point}" />

			<td th:text="${stockdata.sell_point}" />
		</tr>
	</table>
</body>
</html>
